/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package edu.mse.camel.client.whiteboard.gef.whiteboard.validation;

import edu.mse.camel.client.whiteboard.gef.whiteboard.WhiteboardDiagram;
import edu.mse.camel.client.whiteboard.gef.whiteboard.XY;

import org.eclipse.draw2d.geometry.Dimension;
import org.eclipse.draw2d.geometry.Point;

import org.eclipse.emf.common.util.EList;
import org.eclipse.swt.graphics.RGB;

/**
 * A sample validator interface for {@link edu.mse.camel.client.whiteboard.gef.whiteboard.FreeWritingShape}.
 * This doesn't really do anything, and it's not a real EMF artifact.
 * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
 * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
 */
public interface FreeWritingShapeValidator {
	boolean validate();

	boolean validateSize(Dimension value);
	boolean validateLocation(Point value);
	boolean validateID(String value);
	boolean validatePoints(EList<XY> value);

	boolean validateColor(RGB value);

	boolean validateDiagram(WhiteboardDiagram value);
}
